package net.tensor.skynet.service

import net.tensor.skynet.common.user.entity.User
import net.tensor.skynet.entity.PageResult
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST

interface UserService {

    @POST("/user/queryAll")
    fun queryList(@Body param: Map<String, String>): Call<ArrayList<User>>

    @POST("/user/queryPage")
    fun queryPage(@Body param: Map<String, Int>): Call<PageResult<User>>
}